package restaurant.dao;

import java.sql.SQLException;
import java.util.List;

import restaurant.pojo.Foods;
import restaurant.pojo.FoodsType;

public interface FoodDao {
	public int addFood(Foods food) throws SQLException;
	public List<FoodsType> getAllType() throws SQLException;
	public List<Foods> showFood(int offset, int pagesize) throws SQLException;
	public long getCount() throws SQLException;
	public int deleFood(String id) throws SQLException;
	public int updateFood(Foods food) throws SQLException;
	public List<Foods> find(String param) throws SQLException;
}
